package edu.cmu.cs771.hw1;

/**
 * Class EmptyListException definition. 
 * @author songluo
 *
 */
public class EmptyListException extends RuntimeException{
	
	/**
	 * no-argument constructor
	 */
	public EmptyListException(){
		this("List");
	}
	
	/**
	 * one-argument constructor
	 * @param str the name of List
	 */
	public EmptyListException(String str){
		super( "is Empty" );
	}
}
